import unittest


class MyTestCase(unittest.TestCase):
   def get_formatted_name(first,last,middle=''):
       from unittest import TestCase
       from name_function import get_formatted_name

       class TestGet_formatted_name(TestCase):
           def test_get_formatted_name(self):
               formatted_name = get_formatted_name('tom’, ’jerry’)
               self.assertEqual(formatted_name,'Tom
               Jerry'')

if __name__ == '__main__':
    unittest.main()
